//
//  ForgetPasswordViewController.m
//  AAIM
//
//  Created by 远的小布丁 on 2019/11/30.
//  Copyright © 2019 AAIM. All rights reserved.
//

#import "ForgetPasswordViewController.h"

@interface ForgetPasswordViewController ()
@property (nonatomic,strong)UIImageView* QRCodeImageView;
@property (nonatomic,strong)UILabel * tipLabel;
@end

@implementation ForgetPasswordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"找回密码";
    [self.view addSubview:self.tipLabel];
    [self.view addSubview:self.QRCodeImageView];
    self.QRCodeImageView.image = [UIImage imageNamed:@"defultLogo"];
    [_tipLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view.mas_centerX);
        make.top.equalTo(self.view.mas_top).offset(SCALAE_HEIGHT(77)+kTopHeight);
    }];
    [_QRCodeImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view.mas_centerX);
        make.top.equalTo(self.tipLabel.mas_top).offset(SCALAE_HEIGHT(57));
        make.size.mas_equalTo(CGSizeMake(SCALAE_WIDTH(229.f), SCALAE_WIDTH(229.f)));
    }];
    // Do any additional setup after loading the view.
}



-(UIImageView *)QRCodeImageView{
    if (!_QRCodeImageView) {
        _QRCodeImageView = [[UIImageView alloc]init];
    }
    return _QRCodeImageView;
}

-(UILabel *)tipLabel{
    if (!_tipLabel) {
        _tipLabel = [[UILabel alloc]init];
        _tipLabel.font = kMainFont(15);
        _tipLabel.textColor = KHEXCOLOR(@"#262B2F");
        _tipLabel.text = @"添加微信客服，联系客服修改密码";
    }
    return _tipLabel;
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
